dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix fatal when non-ascii message key is normalized
[lhc/web/wiklou.git]
/
includes
/
UserRightsProxy.php
diff --git
a/includes/UserRightsProxy.php
b/includes/UserRightsProxy.php
index
1b9e4b6
..
a19f698
100644
(file)
--- a/
includes/UserRightsProxy.php
+++ b/
includes/UserRightsProxy.php
@@
-278,8
+278,8
@@
class UserRightsProxy {
array( 'user_id' => $this->id ),
__METHOD__ );
-
global $wgMemc
;
+
$cache = ObjectCache::getMainWANInstance()
;
$key = wfForeignMemcKey( $this->database, false, 'user', 'id', $this->id );
- $
wgMemc
->delete( $key );
+ $
cache
->delete( $key );
}
}